/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.trandio.dao;

import java.sql.SQLException;
import java.util.List;
import javax.naming.NamingException;
import org.trandio.model.GrupoActividadVO;
import org.trandio.model.GrupoactVO;
import org.trandio.model.GrupoactVO;


/**
 *
 * @author root
 */
public interface GrupoactInterface {    
      public List<GrupoactVO> consultarGrupoact(String codigo,String descripcion, int firstRow, int rowsPerPage, String sortField, boolean sortAscending) throws SQLException, NamingException;
      public int count() throws SQLException, NamingException;
      public GrupoactVO getGrupoact(int id) throws SQLException, NamingException;
      public int guardarGrupoact(GrupoactVO grupoactVO) throws SQLException, NamingException;
      public void guardarGrupoactEdit(GrupoactVO grupoactVO) throws SQLException, NamingException;
      public List<GrupoactVO> consultarGrupoact(String codigo, String descripcion) throws SQLException, NamingException;

    public int getCantGrupoActividades(String $sWhere) throws SQLException, NamingException;

    public List<GrupoactVO> getGrupoActividades(int displayStart, int displayLength, String $sWhere, String orden) throws SQLException, NamingException;
}